package com.yao.smy.domain;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 设备实体
 */
@Entity
@Table(name = "t_equipment")
public class Equipment implements Serializable {

    //设备名字
    private String name;

    //设备Ip
    @Id
    private String ip;

    //设备账号
    private String username;

    //设备密码
    private String password;

    //设备类型
    private String type;

    //设备备注
    private String remark;

    //设备状态
    private String status;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
